package com.xiaoq.parking.service;

import java.util.List;

import com.xiaoq.parking.entity.ParkingEntity;

public interface IParkingService {
	
	public ParkingEntity addParking(ParkingEntity parking);
	
	/**
	 *  获取停车场列表，按着离当前经纬度距离远近排序
	 * @param latitude
	 * @param longitude
	 * @return
	 */
	public List<ParkingEntity> findParkings(Double latitude, Double longitude,String sitesId);

}
